# print("This is console module")
# print("这是第一行")
# 和
def conculate_sum(numbers):
    return sum(numbers)

# 平均数
def conculate_average(numbers):
    a=len(numbers)
    return sum(numbers)/a
    
def find_maximum(numbers):
    """
    查找列表中的最大值
    
    参数:
        numbers: 数字列表
    
    返回:
        列表中的最大值
    """
    if not numbers:
        return None
    return max(numbers)

def find_minimum(numbers):
    
    if not numbers:
        return None
    return min(numbers)

def count_even_numbers(numbers):
    if not numbers:
        return 0
        count = 0
    for num in numbers:
        if num % 2 == 0:
            count +=1
    return count

if __name__ == "__main__":
    numbers = [1,2,3,4,5]
    print("conculate_sum =",conculate_sum(numbers))
    print("conculate_average =",conculate_average(numbers))